﻿using UnityEngine;

namespace UFrame
{
    public class InitUFrame
    {

        [RuntimeInitializeOnLoadMethod]
        public void InitUFrameAsset()
        {
            TextAsset t = Resources.Load<TextAsset>("UFrameAsset");
            if (t == null)
            {
                return;
            }

            var lines = t.text.Split('\n');
            string path = string.Empty;

            path = StringTool.LineByKeyPair("UIDefineClass", lines);
            if (string.IsNullOrEmpty(path))
            {
                //PLUIMenu.classPath = path;
            }


            Debug.Log("InitUFrameAsset");
        }


    }
}